//package com.example.webproject.entity;
//
//import lombok.Data;
//import lombok.NoArgsConstructor;
//import org.hibernate.annotations.GenericGenerator;
//
//import javax.persistence.Column;
//import javax.persistence.GeneratedValue;
//import javax.persistence.Id;
//import javax.persistence.MappedSuperclass;
//import java.util.UUID;
//
///**
// * @author hhs
// * @Description
// * @date 2022/12/6 19:43
// */
//@MappedSuperclass
//@Data
//@NoArgsConstructor
//public class BaseEntity {
//    @Id
//    @GeneratedValue(generator = "uuid2")
//    @GenericGenerator(name = "uuid2",strategy = "uuid2")
//    protected UUID id;
//}
